﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <title>导播台节目库</title>
    <script charset="utf-8" type="text/javascript" src="./js/init.js?v=2014122229711"></script>
    <style>
        .norecords {
            border-width: 2px !important;
            display: none;
            font-weight: bold;
            left: 45%;
            margin: 5px;
            padding: 6px;
            text-align: center;
            top: 45%;
            width: auto;
            z-index: 102;
        }

        .ui-jqgrid tr.jqgrow td {
            white-space: normal !important;
            word-wrap: break-word;
            height:auto;
            vertical-align:text-top;
            padding-top:2px;
        }
    </style>
</head>
<body>

<header></header>
<div class="wrapper wrapper-video">
    <div class="container container-video">
        <div id="ProgramListContainer" class="container-list" >
            <div class="query" id="QueryContainer">
                <form class="form-horizontal form-container form-inline" name="basicFrm" autocomplete="off">
                    <div class="container">
                        <div class="row">
                            <div class="span3">
                                <div class="control-group">
                                    <label class="control-label">节目奇谱ID：</label>

                                    <div class="controls">
                                        <input type="text" name="qipuId" placeholder="" autocomplete="off"
                                               class="input-small query-input-text">
                                    </div>
                                </div>
                            </div>
                            <div class="span5">
                                <div class="control-group">
                                    <label class="control-label">节目名称：</label>
                                    <div class="controls">
                                        <input type="text"
                                               name="pname"
                                               placeholder="" autocomplete="off"
                                               class="input-medium query-input-text ui-autocomplete-input">
                                    </div>
                                </div>
                            </div>

                            <div class="span8">
                                <div class="control-group">
                                    <label class="control-label">开始时间：</label>

                                    <div class="controls">
                                        <input type="text" name="startDate" placeholder="" autocomplete="off" class="input-medium">
                                        ~
                                        <input type="text" name="endDate" placeholder="" autocomplete="off" class="input-medium">
                                        &nbsp;&nbsp;&nbsp;
                                        <a href="javascript:void(0);" onclick="Director.Util.calculateDate('today')" class="data-select">今日</a>
                                        <a href="javascript:void(0);" onclick="Director.Util.calculateDate('yesterday')" class="data-select">昨日</a>
                                        <a href="javascript:void(0);" onclick="Director.Util.calculateDate('7days')" class="data-select">7天</a>
                                        <a href="javascript:void(0);" onclick="Director.Util.calculateDate('month')" class="data-select">1月</a>

                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="span3">
                                <div class="control-group cleargroup">
                                    <label class="control-label">节目播放状态：</label>

                                    <div class="controls">
                                        <select name="programStatus" class="input-small pps-content-type">
                                            <option value="">全部</option>
                                            <option value="0">未开始</option>
                                            <option value="1">直播中</option>
                                            <option value="2">回看中</option>
                                            <option value="3">已结束</option>
                                        </select>
                                    </div>
                                </div>
                            </div>

                            <div class="span5">
                                <div class="control-group">
                                    <label class="control-label">节目导播状态：</label>
                                    <div class="controls">
                                        <select name="playStatus" class="input-small pps-content-type">
                                            <option value="">全部</option>
                                            <option value="0">导播未开始</option>
                                            <option value="1">正在导播</option>
                                            <option value="2">导播停止</option>
                                            <option value="3">导播结束</option>
                                        </select>
                                    </div>
                                </div>
                            </div>


                        </div>

                        <div class="control-group">
                            <label class="control-label"></label>

                            <div class="controls">
                                <button type="button" class="btn btn-primary query-btn">搜索</button>
                                <button type="reset" id="resetFrm" class="btn">重置</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="result">
                <div class="le-grid">
                    <table id="list">
                        <tr>
                            <td></td>
                        </tr>
                    </table>
                    <div id="pager"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<div id="directorLogDiv" style="display: none">
    <table id="logList">
        <tr>
            <td></td>
        </tr>
    </table>
    <div id="log_pager"></div>
</div>
<script type="text/javascript">
        require(['epg'], function() {
            Director.Action.libraryRun();
        })
</script>
</body>
</html>